package estate;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.Comparator;
import java.util.HashMap;
/**
 *
 * @author Wlodek
 */
public abstract class Dekorator extends Estate {
    Estate element;

    public Dekorator(Estate e){
        element=e;
    }
    public Dekorator(){}

    @Override
    public int getTypOferty() {
        return element.getTypOferty();
    }

    @Override
    public void dekoruj(HashMap<String,Object> hm){

    }
    @Override
    public boolean equals(Object e){
       return true;
    }
    public int compareTo(Estate ob)    {
        return 0;
    }


}



